#ifndef GLOBAL_DEF_H
#define GLOBAL_DEF_H
#include "c.h"

typedef uint32	oid_t;
#define INVALID_OID 0;
#define OID_IS_VALID(object_id) ((bool)(object_id != INVALID_OID))

#define BOOLOID		16

#define UNKNOWNOID	705

#define INT40ID     23
#define INT80ID     20

typedef int16		attr_number_t;

#define INVALID_ATTR_NUMBER     0
#define INVALID_ATTR_ID         -1
#define STAR_ATTR_ID            0xdeadbeaf  /* '*'操作符 */

#define NAME_DATA_LEN 16
#endif // GLOBAL_DEF_H
